package com.atguigu.ssyx.client.search;

import com.atguigu.ssyx.model.search.SkuEs;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author：tzl
 * @Date：2023/11/20 16:05
 */
@FeignClient("service-search")
public interface SearchFeignClient {
    /**
     * 查询爆款商品
     * @return
     */
    @ApiOperation(value = "查询爆款商品")
    @GetMapping("/api/search/sku/inner/findHotSkuList")
    public List<SkuEs> findHotSkuList();
}
